package com.uzai.console.entity;


import com.uzai.common.entity.BaseEntity;

/**
 * 京东授权信息
 * 
 * @author liuqi
 * @email sunlightcs@gmail.com
 * @date 2021-09-06 10:22:46
 */
public class JdToken extends BaseEntity {

	private static final long serialVersionUID = 6650363678695622709L;

	/**
	 * 运营商ID
	 */
	private Long merId;
	/**
	 * 京东联盟ID
	 */
	private String unionId;
	/**
	 * 京东授权KEY
	 */
	private String authKey;
	/**
	 * 默认Pid
	 */
	private String defPid;
	/**
	 * pid列表
	 */
	private String pids;
	/**
	 * 是否开启pid白名单（0否，1是）
	 */
	private Integer pidWlist;
	/**
	 * 0京东联盟 1京佣联盟
	 */
	private Integer type;
	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 0: 实际订单比例计算, 1: 查询时的比例
	 */
	private Integer queryRatio;

	public Integer getQueryRatio() {
		return queryRatio;
	}

	public void setQueryRatio(Integer queryRatio) {
		this.queryRatio = queryRatio;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getMerId() {
		return merId;
	}

	public void setMerId(Long merId) {
		this.merId = merId;
	}

	public String getUnionId() {
		return unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	public String getAuthKey() {
		return authKey;
	}

	public void setAuthKey(String authKey) {
		this.authKey = authKey;
	}

	public String getDefPid() {
		return defPid;
	}

	public void setDefPid(String defPid) {
		this.defPid = defPid;
	}

	public String getPids() {
		return pids;
	}

	public void setPids(String pids) {
		this.pids = pids;
	}

	public Integer getPidWlist() {
		return pidWlist;
	}

	public void setPidWlist(Integer pidWlist) {
		this.pidWlist = pidWlist;
	}

	public Integer getType() {
		if(type == null){
			type = 0;
		}
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
